Export 330_cleanse and checksum for use by friends.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 8 Apr 2005 20:18:25 +0000 (20:18 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 8 Apr 2005 20:18:25 +0000 (20:18 +0000)
gpsbabel/magproto.c

index 4666d2c5b6e7be35374812e416951b832e6d2942..cd41c0752183982097a81c856a070149c65482e6 100644 (file)
@@ -213,7 +213,7 @@ m315_cleanse(char *istring)
 /*
  * Do same for 330, Meridian, and SportTrak.
  */
-static char *
+char *
 m330_cleanse(char *istring)
 {
        static char m330_valid_chars[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ "
@@ -235,7 +235,7 @@ m330_cleanse(char *istring)
  * Given a protocol message, compute the checksum as needed by 
  * the Magellan protocol.
  */
-static unsigned int 
+unsigned int 
 mag_checksum(const char * const buf)
 {
        int csum = 0;